package com.hnchances.service;

import com.hnchances.entity.Grades;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hnchances.entity.User;
import com.hnchances.vo.Result;
import com.hnchances.vo.SearchVo;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xyp
 * @since
 */
public interface GradesService extends IService<Grades> {
    //添加成绩
    public Result add(Grades grades, User user);
    //修改成绩
    public Result update(Grades grades,User user);
    //删除
    public Result delete(String id);
    //查询
    public Result search(SearchVo searchVo);
}
